package cn.tedu.oa.sys.service;

import java.util.List;

import cn.tedu.oa.common.service.BaseService;
import cn.tedu.oa.sys.entity.Department;

public interface DepartmentService extends BaseService<Department> {
    List<Department> getDepartmentByName(String deptName);

    List<Department> getExceptId(Integer id);

    List<Department> findDivisions(Integer... id);
    /**
     * 分页查询用户信息
     * @param criteria 查询条件
     * @param pageNo   页码
     * @param pageSize 页码大小
     * @return 结果集合
     */
    List<Department> getDepartmentPagerList(String criteria, Integer pageNo, Integer pageSize);
    
    int deletes(String deleteUser,Integer...id);

    Department getDeptById(Integer id);
}
